package com.yuyou.train.service.api.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class UserDynamic implements Serializable {
    /**
     * 业务主键
     */
    private String id;

    /**
     * 用户主键
     */
    private String userId;

    /**
     * 班级主键
     */
    private String classId;

    /**
     * 课程主键
     */
    private String lessonId;

    /**
     * 业务外键
     */
    private String foreignId;

    /**
     * 内容
     */
    private String content;

    /**
     * 类型：01：课程，02：作业
     */
    private String type;

    /** 资源类型 */
    private String resourceType;

    /**
     * 创建时间
     */
    private Date createTime;
    
    
    
    

    public UserDynamic() {
	}

	public UserDynamic(String userId, String classId, String lessonId,
			String foreignId, String content, String type, String resourceType) {
		this.userId = userId;
		this.classId = classId;
		this.lessonId = lessonId;
		this.foreignId = foreignId;
		this.content = content;
		this.type = type;
		this.resourceType = resourceType;
	}

	private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getForeignId() {
        return foreignId;
    }

    public void setForeignId(String foreignId) {
        this.foreignId = foreignId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}